package com.huluobo.high3videoproject.bean;


import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class UserInfo {
    @Override
    public String toString() {
        return "UserInfo{" +
                "id=" + id +
                ", admin=" + admin +
                ", email='" + email + '\'' +
                ", icon='" + icon + '\'' +
                ", nickname='" + nickname + '\'' +
                ", sex='" + sex + '\'' +
                ", birth='" + birth + '\'' +
                ", address='" + address + '\'' +
                '}';
    }

    @Id(autoincrement = true)
    private Long id;

    private String userName;
    private boolean admin;
    private String email;
    private String icon;
    private String nickname;
    private String sex;
    private String birth;
    private String address;
    @Generated(hash = 1087408143)
    public UserInfo(Long id, String userName, boolean admin, String email,
            String icon, String nickname, String sex, String birth,
            String address) {
        this.id = id;
        this.userName = userName;
        this.admin = admin;
        this.email = email;
        this.icon = icon;
        this.nickname = nickname;
        this.sex = sex;
        this.birth = birth;
        this.address = address;
    }
    @Generated(hash = 1279772520)
    public UserInfo() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public boolean getAdmin() {
        return this.admin;
    }
    public void setAdmin(boolean admin) {
        this.admin = admin;
    }
    public String getEmail() {
        return this.email;
    }
    public void setEmail(String email) {
        this.email = email;
    }
    public String getIcon() {
        return this.icon;
    }
    public void setIcon(String icon) {
        this.icon = icon;
    }
    public String getNickname() {
        return this.nickname;
    }
    public void setNickname(String nickname) {
        this.nickname = nickname;
    }
    public String getSex() {
        return this.sex;
    }
    public void setSex(String sex) {
        this.sex = sex;
    }
    public String getBirth() {
        return this.birth;
    }
    public void setBirth(String birth) {
        this.birth = birth;
    }
    public String getAddress() {
        return this.address;
    }
    public void setAddress(String address) {
        this.address = address;
    }
    public String getUserName() {
        return this.userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }
}
